module.exports = {
    title: '幽空谷',
    base: '/', // 部署到github相关的配置
    themeConfig: {
        nav: [
            { text: '首页', link: '/' },
            { text: 'JAVA基础', link: '/md/interview/java' },
            {
                text: '工具', items: [
                    { text: 'typora', link: '/md/tools/typora' },
                    { text: 'vscode', link: '/md/tools/vscode' }
                ]
            },
        ],
        //例子
        // nav: [
        //     { text: '首页', link: '/' },
        //     { text: 'Guide', link: '/guide/' },
        //     { text: 'External', link: 'https://google.com' },
        //     {
        //         text: '管',
        //         items: [
        //             { text: 'Group1', link: '/md/java/java' },
        //             {
        //                 text: 'Group2', items: [
        //                     { text: 'Guide', link: '/guide/' },
        //                 ]
        //             }
        //         ]
        //     }
        // ],
        sidebar: 'auto',//自动侧边栏
        sidebarDepth: 2,// 侧边栏深度
        displayAllHeaders: true, // 默认值：false
        smoothScroll: true //启动页面滚动
    },
    description: '自在飞花轻似梦，无边丝雨细如愁。',
    serviceWorker: true, // 是否开启 PWA
    markdown: {
        lineNumbers: true // 代码块是否显示行号
    },
    head: [ // 注入到当前页面的 HTML <head> 中的标签
        ['link', { rel: 'icon', href: '/images/blog.png' }],
        ['link', { rel: 'manifest', href: '/images/blog.png' }],
        ['link', { rel: 'apple-touch-icon', href: '/images/blog.png' }],
        ['meta', { 'http-quiv': 'pragma', cotent: 'no-cache' }],
        ['meta', { 'http-quiv': 'pragma', cotent: 'no-cache,must-revalidate' }],
        ['meta', { 'http-quiv': 'expires', cotent: '0' }]
    ],
}